<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">
	
	<h:panelGrid columns="2">
			<a4j:commandLink value="Anterior" 
						 action="#"
						 disabled="true"
						 rendered="#{not empty paginador and not paginador.hasPreviosPage()}"
						 styleClass="link-disabled" 
						 />
			<a4j:commandLink value="Anterior" 
						 action="#{paginador.previosPage()}"
						 reRender="divLayoutTable"
						 rendered="#{not empty paginador and paginador.hasPreviosPage()}" 
						 />
			<a4j:commandLink value="Próxima" 
						 action="#"
						 disabled="true"
						 rendered="#{not empty paginador and not paginador.hasNextPage()}"
						 styleClass="link-disabled" 
						 />

			<a4j:commandLink value="Próxima" 
						 action="#{paginador.nextPage()}"
						 reRender="divLayoutTable "
						 rendered="#{not empty paginador and paginador.hasNextPage()}" 
						 />
	</h:panelGrid>
</ui:composition>